package adaptorDemo.example1;

/**
 * @author zsh
 * @Description
 * @create 2022-04-19 19:13
 */
public class Banner {
    private String string;

    public Banner(String string) {
        this.string = string;
    }

    public void showWithParen(){
        System.out.println("(" + string + ")");
    }

    public void showWithAster(){
        System.out.println("*" + string + "*");
    }
}
